﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowFlowStep.aspx.cs" Inherits="JoinParty.admin.ToDoFlow.ShowFlowStep" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>流程步骤展示</title>
    <script type="text/javascript" src="../../../../Resource/js/jquery/jquery.min.js"></script>
    <script language="javascript" type="text/javascript">
        var parentPageWindow;
        $(document).ready(function () {
            HideLastImg();
        });
        function HideLastImg() {
            $(".flowtable:last").next().hide();
            $(".statu").each(function (i) {
                if ($(this).text() == "通过") {
                    $(this).attr("style", "color:green");
                }
                else if ($(this).text() == "退回") {
                    $(this).attr("style", "color:red");
                }
            });
        }
    </script>
    <style type="text/css">
        .flowtable {
            width: 100%;
            border: solid 1px #93C2F1;
        }

            .flowtable tr td {
                text-align: left;
                padding-left: 3px;
                width: 30%;
            }

            .flowtable tr th {
                width: 15%;
                font-weight: bold;
                color: CadetBlue;
                text-align: right;
            }

        .al {
            margin-right: 30px;
            white-space: nowrap;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:ContentPanel runat="server" ShowBorder="false" ShowHeader="false">
            <div style="position: fixed; top: 0px; background-color: #fff">
                <table>
                    <tr>
                        <td style="width: 90px; text-align: right; line-height: 30px" valign="top">文档下载：</td>
                        <td style="line-height: 30px">
                            <asp:HyperLink runat="server" ID="link8" CssClass="al" Target="_blank">入党积极分子登记表</asp:HyperLink>
                            <asp:HyperLink runat="server" ID="link9" CssClass="al" Target="_blank">入党积极分子培养教育考察</asp:HyperLink>
                            <asp:HyperLink runat="server" ID="link15" CssClass="al" Target="_blank">政治审查</asp:HyperLink>
                            <asp:HyperLink runat="server" ID="link19" CssClass="al" Target="_blank">填写入党志愿书</asp:HyperLink>
                            <asp:HyperLink runat="server" ID="link25" CssClass="al" Target="_blank">组织员谈话</asp:HyperLink>
                            <asp:HyperLink runat="server" ID="link31" CssClass="al" Target="_blank">预备党员教育考察</asp:HyperLink>
                            <asp:HyperLink runat="server" ID="link35" CssClass="al" Target="_blank">支部大会通过预备党员能否转为正式党员的决议</asp:HyperLink>
                        </td>
                    </tr>
                </table>

            </div>
            <div style="height: 90px"></div>
            <asp:Repeater ID="rpFlow" runat="server" OnItemDataBound="rpFlow_ItemDataBound">
                <ItemTemplate>
                    <table class="flowtable">
                        <tr>
                            <th>处理人：</th>
                            <td><%#Eval("HandleUserName")%></td>
                            <th>处理人组织：</th>
                            <td><%#Eval("BranchName") %></td>
                        </tr>
                        <tr>
                            <th>处理时间：</th>
                            <td><%#Eval("HandleTime")%></td>
                            <th>处理状态：</th>
                            <td class="statu"><%# GetStatusName(Eval("Status").ToString())%></td>
                        </tr>
                        <tr>
                            <th>流程步骤：</th>
                            <td><%#Eval("CurrentStepName")%></td>
                            <th>详细信息：</th>
                            <td>
                                <asp:HiddenField ID="hf_StepID" runat="server" Value=' <%#Eval("CurrentStepID")%>' />
                                <asp:HiddenField ID="hf_StandID" runat="server" Value=' <%#Eval("StandID")%>' />
                                <asp:HiddenField ID="hf_BranchID" runat="server" Value=' <%#Eval("BranchID")%>' />
                                <asp:HiddenField ID="hf_AppllicationID" runat="server" Value=' <%#Eval("AppllicationID")%>' />
                                <asp:LinkButton ID="gridFLowOper" runat="server" Text="查看详细信息"></asp:LinkButton>
                                <br />

                            </td>
                        </tr>
                    </table>
                    <div style="width: 100%; text-align: center; height: auto;">
                        <img src="../../../../Resource/themes/default/images/JoinParty/Kombine_down.png" />
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </f:ContentPanel>

        <f:Window ID="Dialog" runat="server" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="700px" Height="535px">
        </f:Window>
        <f:Window ID="DialogMeeting" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="750px" Height="535px">
        </f:Window>
        <f:Window ID="DialogMeetingStep" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="750px" Height="600px">
        </f:Window>
        <f:Window ID="DialogKaoCaBiao" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="750px" Height="535px">
        </f:Window>
        <f:Window ID="WJoinStep7" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="800px" Height="450px">
        </f:Window>
        <f:Window ID="WJoinStep8" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="800px" Height="600px">
        </f:Window>
        <f:Window ID="WShangBao2" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="800px" Height="600px">
        </f:Window>
        <f:Window ID="wStep19" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="800px" Height="600px">
        </f:Window>
    </form>
</body>
</html>
